﻿/*
 * Copyright © 2020, Wuxi Safover Intelligent Technology Co., Ltd. All rights reserved.
 * 
 * 无锡安永智能科技有限公司版权所有，未经许可，不得用于商业用途
 * 
 * Visit: https://www.safover.com/ 
 */

namespace Safover.LidarCollector.Core
{
    internal interface IRotaryTableDeviceControllable : ISerialPortControllable
    {
        bool TryOpen();

        bool TryClose();

        //Task<bool> TryMoveHorizontallyAsync(float angle, int timeout = 5);

        //Task<bool> TryMoveVerticallyAsync(float angle, int timeout = 5);

        //Task<bool> TryRestoreZeroAsync(int timeout = 5);

        bool TryMoveHorizontally(float angle);

        bool TryMoveVertically(float angle);

        bool TryRestoreZero();
    }


}
